try {
    console.log ("don't throw error");
}
catch (error : any) {
    console.error (error);
}
